package com.suyuan.dao;

import java.util.List;

import com.suyuan.entity.CustomerCart;
import com.suyuan.entity.CustomerCartExample;
import org.apache.ibatis.annotations.Param;

public interface CustomerCartMapper {
    int countByExample(CustomerCartExample example);

    int deleteByExample(CustomerCartExample example);

    int deleteByPrimaryKey(Integer cartId);

    int insert(CustomerCart record);

    int insertSelective(CustomerCart record);

    List<CustomerCart> selectByExample(CustomerCartExample example);

    CustomerCart selectByPrimaryKey(Integer cartId);

    int updateByExampleSelective(@Param("record") CustomerCart record, @Param("example") CustomerCartExample example);

    int updateByExample(@Param("record") CustomerCart record, @Param("example") CustomerCartExample example);

    int updateByPrimaryKeySelective(CustomerCart record);

    int updateByPrimaryKey(CustomerCart record);
}